package org.ghost.wechat.platform;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


@EnableFeignClients(basePackages = {"org.ghost.wechat.platform.mapper"})
@MapperScan(value = {"org.ghost.wechat.platform.mapper"})
@SpringBootApplication(scanBasePackages = "org.ghost.wechat.platform")
@EnableAsync
public class Application {
    private static final Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        logger.info("*****start complete*****");
        System.out.println("*****start complete*****");
    }
}
